package exercises.Phone;

import exercises.Phone.OlderPhone;
import exercises.Phone.SmartPhone;

public class Test {
    public static void main(String[] args) {
        OlderPhone op = new OlderPhone();
        op.model="X-LL1";
        op.brand="X-LL";
        op.size=3.0;
        System.out.println("某老年机: \n品牌："+op.brand+",型号:"+op.model+"屏幕尺寸:"+op.size+"英寸");
        op.call();
        op.sms();
        System.out.println("------------------------");
        SmartPhone sp = new SmartPhone();
        sp.model="X-LL!";
        sp.brand="X-LL";
        sp.size=3.0;
        System.out.println("某智能机: \n品牌:"+sp.brand+",型号:"+sp.model+"屏幕尺寸:"+sp.size+"英寸");
        sp.call();
        sp.sms();
        sp.music();
        sp.video();
        sp.app();
    }
}
